package ooday02;

import ooday02.Doctor;

public class Dog extends Animal {
    Dog(String name,int age,String colour) {
        super(name,age,colour);
    }
    void eat(){
        System.out.println(colour+"的"+age+"岁的名字叫"+name+"的狗在吃骨头");
    }
    void lookHome(){
        System.out.println(colour+"的"+age+"岁的名字叫"+name+"的狗在看家");
    }
}
